package io.gitee.loulan_yxq.owner.mybatisPlus.test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 课表
 * @TableName course
 */
@TableName(value ="course")
@Data
public class Course extends BaseEntity implements Serializable {

    /**
     * 课程编号
     */
    @TableField(value = "code")
    private String code;

    /**
     * 课程名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 教师表的id
     */
    @TableField(value = "teacher_id")
    private Integer teacher_id;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}